// @import '~@/global/index.less';
@import '../../global/index.less';
.weiwei-auto-complete {
  position: relative;
}
.weiwei-suggestion-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  width: 100%;
  padding-left: 0;
  white-space: nowrap;

  list-style: none;
  background: @white;
  border: @menu-border-width solid @menu-border-color;
  box-shadow: @submenu-box-shadow;
  .suggstions-loading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75px;
  }
  .suggestion-item {
    width: 100%;
    padding: @menu-item-padding-y @menu-item-padding-x;
    overflow: hidden;
    color: @body-color;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: @menu-transition;
    &.is-active {
      color: @white !important;
      background: @menu-item-active-color !important;
    }
    &:hover {
      color: @menu-item-active-color !important;
    }
  }
}
